Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Input): Add v-model:value.trim support to input component #7662

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aaron-zon
Copy link
Contributor

close #7658

让组件a-input支持 v-model:value.trim 的写法。

判断valueModifiers的属性查看是否有trim属性,如果有表示该组件要使用 v-model:value.trim功能,去除输入框文字两侧的空格

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

input组件不支持v-model:value.trim
1 participant